package homework;

import java.util.HashMap;
import java.util.Map;

public class Lambda2 {
    public static void main(String[] args) {
        Map<String, String> a=new HashMap<>();
        
        a.put("a", "a");
        a.put("b", "b");
        a.put("c", "c");
        a.put("d", "d");
        System.out.println(a);
        a.forEach((k,v)->System.out.println(k+","+v));
       
       
        
        
    }
   
    
}
